#ifndef SYNCHRONIZER_FREQ_COARSE_DVBS2_AIB
#define SYNCHRONIZER_FREQ_COARSE_DVBS2_AIB

#include <vector>
#include <complex>

#include "Synchronizer_freq_coarse.hpp"
#include "Module/Multiplier/Sine/Multiplier_sine_ccc_naive.hpp"

namespace aff3ct
{
namespace module
{
template <typename R = float>
class Synchronizer_freq_coarse_DVBS2_aib : public Synchronizer_freq_coarse<R>
{
private:
const std::vector<int > PL_RAND_SEQ {
	0, 1, 1, 1, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3,
	1, 3, 1, 2, 2, 2, 2, 0, 0, 0, 1, 3, 3, 3, 2, 3,
	3, 3, 0, 2, 0, 1, 1, 3, 3, 2, 3, 1, 0, 3, 3, 0,
	3, 1, 2, 2, 3, 2, 0, 2, 0, 1, 0, 1, 3, 0, 0, 0,
	0, 2, 2, 1, 2, 2, 0, 0, 3, 0, 2, 3, 2, 1, 3, 2,
	3, 1, 2, 0, 2, 0, 1, 2, 2, 2, 2, 0, 0, 3, 2, 1,
	3, 2, 2, 2, 2, 1, 0, 1, 3, 0, 3, 1, 2, 1, 3, 3,
	0, 3, 0, 3, 2, 2, 0, 0, 3, 2, 2, 0, 0, 3, 0, 1,
	3, 2, 1, 3, 3, 1, 3, 1, 0, 3, 1, 1, 0, 2, 0, 1,
	0, 3, 0, 1, 3, 2, 3, 3, 2, 0, 2, 1, 0, 2, 2, 3,
	1, 2, 3, 0, 3, 3, 3, 1, 2, 2, 3, 1, 2, 3, 2, 2,
	0, 3, 2, 2, 3, 2, 0, 2, 1, 3, 3, 0, 0, 1, 1, 2,
	0, 1, 2, 0, 0, 3, 2, 2, 3, 2, 2, 0, 1, 2, 0, 2,
	1, 3, 1, 1, 2, 3, 3, 1, 1, 2, 3, 2, 2, 3, 0, 2,
	0, 3, 3, 2, 0, 0, 3, 3, 3, 3, 1, 1, 1, 2, 2, 3,
	1, 1, 2, 1, 2, 1, 1, 0, 3, 0, 1, 2, 0, 2, 0, 1,
	0,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,
	1, 1, 2, 2, 3, 1, 0, 0, 1, 1, 0, 3, 1, 1, 1, 1,
	3, 1, 1, 0, 2, 2, 0, 0, 3, 1, 1, 2, 3, 3, 1, 0,
	3, 2, 0, 3, 2, 3, 1, 1, 2, 0, 0, 3, 0, 3, 1, 1,
	0, 0, 3, 2, 1, 1, 2, 1, 1, 3, 2, 0, 3, 0, 1, 1,
	2, 2, 2, 0, 3, 0, 0, 1, 3, 3, 3, 2, 0, 3, 1, 0,
	2, 3, 1, 3, 2, 1, 0, 0, 3, 3, 2, 1, 1, 3, 2, 1,
	2, 2, 2, 3, 2, 2, 2, 2, 0, 0, 2, 2, 3, 2, 3, 3,
	2, 0, 3, 1, 1, 0, 0, 3, 1, 2, 0, 0, 0, 2, 1, 0,
	1, 1, 3, 1, 1, 3, 0, 3, 1, 3, 2, 1, 3, 3, 0, 1,
	0, 3, 2, 2, 2, 3, 2, 1, 2, 0, 1, 3, 1, 3, 0, 2,
	1, 2, 3, 1, 0, 1, 1, 0, 1, 0, 0, 1, 2, 2, 1, 1,
	2, 3, 3, 2, 3, 3, 3, 2, 2, 3, 2, 0, 1, 1, 2, 0,
	1, 0, 2, 0, 3, 1, 1, 1, 2, 3, 3, 0, 0, 0, 2, 3,
	1, 2, 0, 0, 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 0,
	0, 0, 3, 1, 3, 1, 0, 0, 0, 3, 2, 0, 0, 1, 0, 1,
	0, 0, 0, 0, 2, 2, 0, 3, 3, 2, 1, 0, 3, 0, 1, 3,
	2, 2, 3, 1, 3, 3, 0, 1, 0, 3, 2, 1, 1, 2, 0, 2,
	3, 1, 3, 2, 3, 2, 1, 1, 1, 3, 2, 2, 1, 3, 0, 0,
	2, 0, 1, 0
	};

	std::vector<std::complex<R> > scrambled_pilots;

	const int samples_per_symbol;

	int length_max;

	R proportional_gain;
	R integrator_gain;
	R digital_synthesizer_gain;

	std::complex<R> prev_spl;
	std::complex<R> prev_prev_spl;

	R loop_filter_state;
	R integ_filter_state;
	R DDS_prev_in;

	Multiplier_sine_ccc_naive<R> mult;


public:
	Synchronizer_freq_coarse_DVBS2_aib(const int N, const int samples_per_symbol = 4, const R damping_factor = 1/std::sqrt((R)2.0), const R normalized_bandwidth = (R)1e-4, const int n_frames = 1);
	virtual ~Synchronizer_freq_coarse_DVBS2_aib();

	void update_phase(const std::complex<R> spl);

	void set_PLL_coeffs (const int samples_per_symbol, const R damping_factor, const R normalized_bandwidth);
	void step (const std::complex<R>* x_elt, std::complex<R>* y_elt);

protected:
	void _synchronize(const R *X_N1,  R *Y_N2, const int frame_id);
	void _reset();

};

}
}

#endif //SYNCHRONIZER_FREQ_COARSE_DVBS2_AIB
